﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace MvcApplication2.Models
{
    public class Item
    {
        public int ItemID { get; set; }
        public string Serial { get; set; }
        public string ItemName { get; set; }
        [ForeignKey("Manufacturer")]
        public int? ManufacturerID { get; set; }
        public virtual Manufacturer Manufacturer { get; set; }
    }
}